package dwl.graduation.design.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class FurnitureInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FurnitureInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFurnIdIsNull() {
            addCriterion("furn_id is null");
            return (Criteria) this;
        }

        public Criteria andFurnIdIsNotNull() {
            addCriterion("furn_id is not null");
            return (Criteria) this;
        }

        public Criteria andFurnIdEqualTo(Integer value) {
            addCriterion("furn_id =", value, "furnId");
            return (Criteria) this;
        }

        public Criteria andFurnIdNotEqualTo(Integer value) {
            addCriterion("furn_id <>", value, "furnId");
            return (Criteria) this;
        }

        public Criteria andFurnIdGreaterThan(Integer value) {
            addCriterion("furn_id >", value, "furnId");
            return (Criteria) this;
        }

        public Criteria andFurnIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("furn_id >=", value, "furnId");
            return (Criteria) this;
        }

        public Criteria andFurnIdLessThan(Integer value) {
            addCriterion("furn_id <", value, "furnId");
            return (Criteria) this;
        }

        public Criteria andFurnIdLessThanOrEqualTo(Integer value) {
            addCriterion("furn_id <=", value, "furnId");
            return (Criteria) this;
        }

        public Criteria andFurnIdIn(List<Integer> values) {
            addCriterion("furn_id in", values, "furnId");
            return (Criteria) this;
        }

        public Criteria andFurnIdNotIn(List<Integer> values) {
            addCriterion("furn_id not in", values, "furnId");
            return (Criteria) this;
        }

        public Criteria andFurnIdBetween(Integer value1, Integer value2) {
            addCriterion("furn_id between", value1, value2, "furnId");
            return (Criteria) this;
        }

        public Criteria andFurnIdNotBetween(Integer value1, Integer value2) {
            addCriterion("furn_id not between", value1, value2, "furnId");
            return (Criteria) this;
        }

        public Criteria andFurnDeptIsNull() {
            addCriterion("furn_dept is null");
            return (Criteria) this;
        }

        public Criteria andFurnDeptIsNotNull() {
            addCriterion("furn_dept is not null");
            return (Criteria) this;
        }

        public Criteria andFurnDeptEqualTo(String value) {
            addCriterion("furn_dept =", value, "furnDept");
            return (Criteria) this;
        }

        public Criteria andFurnDeptNotEqualTo(String value) {
            addCriterion("furn_dept <>", value, "furnDept");
            return (Criteria) this;
        }

        public Criteria andFurnDeptGreaterThan(String value) {
            addCriterion("furn_dept >", value, "furnDept");
            return (Criteria) this;
        }

        public Criteria andFurnDeptGreaterThanOrEqualTo(String value) {
            addCriterion("furn_dept >=", value, "furnDept");
            return (Criteria) this;
        }

        public Criteria andFurnDeptLessThan(String value) {
            addCriterion("furn_dept <", value, "furnDept");
            return (Criteria) this;
        }

        public Criteria andFurnDeptLessThanOrEqualTo(String value) {
            addCriterion("furn_dept <=", value, "furnDept");
            return (Criteria) this;
        }

        public Criteria andFurnDeptLike(String value) {
            addCriterion("furn_dept like", value, "furnDept");
            return (Criteria) this;
        }

        public Criteria andFurnDeptNotLike(String value) {
            addCriterion("furn_dept not like", value, "furnDept");
            return (Criteria) this;
        }

        public Criteria andFurnDeptIn(List<String> values) {
            addCriterion("furn_dept in", values, "furnDept");
            return (Criteria) this;
        }

        public Criteria andFurnDeptNotIn(List<String> values) {
            addCriterion("furn_dept not in", values, "furnDept");
            return (Criteria) this;
        }

        public Criteria andFurnDeptBetween(String value1, String value2) {
            addCriterion("furn_dept between", value1, value2, "furnDept");
            return (Criteria) this;
        }

        public Criteria andFurnDeptNotBetween(String value1, String value2) {
            addCriterion("furn_dept not between", value1, value2, "furnDept");
            return (Criteria) this;
        }

        public Criteria andFurnAreaIsNull() {
            addCriterion("furn_area is null");
            return (Criteria) this;
        }

        public Criteria andFurnAreaIsNotNull() {
            addCriterion("furn_area is not null");
            return (Criteria) this;
        }

        public Criteria andFurnAreaEqualTo(String value) {
            addCriterion("furn_area =", value, "furnArea");
            return (Criteria) this;
        }

        public Criteria andFurnAreaNotEqualTo(String value) {
            addCriterion("furn_area <>", value, "furnArea");
            return (Criteria) this;
        }

        public Criteria andFurnAreaGreaterThan(String value) {
            addCriterion("furn_area >", value, "furnArea");
            return (Criteria) this;
        }

        public Criteria andFurnAreaGreaterThanOrEqualTo(String value) {
            addCriterion("furn_area >=", value, "furnArea");
            return (Criteria) this;
        }

        public Criteria andFurnAreaLessThan(String value) {
            addCriterion("furn_area <", value, "furnArea");
            return (Criteria) this;
        }

        public Criteria andFurnAreaLessThanOrEqualTo(String value) {
            addCriterion("furn_area <=", value, "furnArea");
            return (Criteria) this;
        }

        public Criteria andFurnAreaLike(String value) {
            addCriterion("furn_area like", value, "furnArea");
            return (Criteria) this;
        }

        public Criteria andFurnAreaNotLike(String value) {
            addCriterion("furn_area not like", value, "furnArea");
            return (Criteria) this;
        }

        public Criteria andFurnAreaIn(List<String> values) {
            addCriterion("furn_area in", values, "furnArea");
            return (Criteria) this;
        }

        public Criteria andFurnAreaNotIn(List<String> values) {
            addCriterion("furn_area not in", values, "furnArea");
            return (Criteria) this;
        }

        public Criteria andFurnAreaBetween(String value1, String value2) {
            addCriterion("furn_area between", value1, value2, "furnArea");
            return (Criteria) this;
        }

        public Criteria andFurnAreaNotBetween(String value1, String value2) {
            addCriterion("furn_area not between", value1, value2, "furnArea");
            return (Criteria) this;
        }

        public Criteria andFurnLocIsNull() {
            addCriterion("furn_loc is null");
            return (Criteria) this;
        }

        public Criteria andFurnLocIsNotNull() {
            addCriterion("furn_loc is not null");
            return (Criteria) this;
        }

        public Criteria andFurnLocEqualTo(String value) {
            addCriterion("furn_loc =", value, "furnLoc");
            return (Criteria) this;
        }

        public Criteria andFurnLocNotEqualTo(String value) {
            addCriterion("furn_loc <>", value, "furnLoc");
            return (Criteria) this;
        }

        public Criteria andFurnLocGreaterThan(String value) {
            addCriterion("furn_loc >", value, "furnLoc");
            return (Criteria) this;
        }

        public Criteria andFurnLocGreaterThanOrEqualTo(String value) {
            addCriterion("furn_loc >=", value, "furnLoc");
            return (Criteria) this;
        }

        public Criteria andFurnLocLessThan(String value) {
            addCriterion("furn_loc <", value, "furnLoc");
            return (Criteria) this;
        }

        public Criteria andFurnLocLessThanOrEqualTo(String value) {
            addCriterion("furn_loc <=", value, "furnLoc");
            return (Criteria) this;
        }

        public Criteria andFurnLocLike(String value) {
            addCriterion("furn_loc like", value, "furnLoc");
            return (Criteria) this;
        }

        public Criteria andFurnLocNotLike(String value) {
            addCriterion("furn_loc not like", value, "furnLoc");
            return (Criteria) this;
        }

        public Criteria andFurnLocIn(List<String> values) {
            addCriterion("furn_loc in", values, "furnLoc");
            return (Criteria) this;
        }

        public Criteria andFurnLocNotIn(List<String> values) {
            addCriterion("furn_loc not in", values, "furnLoc");
            return (Criteria) this;
        }

        public Criteria andFurnLocBetween(String value1, String value2) {
            addCriterion("furn_loc between", value1, value2, "furnLoc");
            return (Criteria) this;
        }

        public Criteria andFurnLocNotBetween(String value1, String value2) {
            addCriterion("furn_loc not between", value1, value2, "furnLoc");
            return (Criteria) this;
        }

        public Criteria andFurnLocDtlIsNull() {
            addCriterion("furn_loc_dtl is null");
            return (Criteria) this;
        }

        public Criteria andFurnLocDtlIsNotNull() {
            addCriterion("furn_loc_dtl is not null");
            return (Criteria) this;
        }

        public Criteria andFurnLocDtlEqualTo(String value) {
            addCriterion("furn_loc_dtl =", value, "furnLocDtl");
            return (Criteria) this;
        }

        public Criteria andFurnLocDtlNotEqualTo(String value) {
            addCriterion("furn_loc_dtl <>", value, "furnLocDtl");
            return (Criteria) this;
        }

        public Criteria andFurnLocDtlGreaterThan(String value) {
            addCriterion("furn_loc_dtl >", value, "furnLocDtl");
            return (Criteria) this;
        }

        public Criteria andFurnLocDtlGreaterThanOrEqualTo(String value) {
            addCriterion("furn_loc_dtl >=", value, "furnLocDtl");
            return (Criteria) this;
        }

        public Criteria andFurnLocDtlLessThan(String value) {
            addCriterion("furn_loc_dtl <", value, "furnLocDtl");
            return (Criteria) this;
        }

        public Criteria andFurnLocDtlLessThanOrEqualTo(String value) {
            addCriterion("furn_loc_dtl <=", value, "furnLocDtl");
            return (Criteria) this;
        }

        public Criteria andFurnLocDtlLike(String value) {
            addCriterion("furn_loc_dtl like", value, "furnLocDtl");
            return (Criteria) this;
        }

        public Criteria andFurnLocDtlNotLike(String value) {
            addCriterion("furn_loc_dtl not like", value, "furnLocDtl");
            return (Criteria) this;
        }

        public Criteria andFurnLocDtlIn(List<String> values) {
            addCriterion("furn_loc_dtl in", values, "furnLocDtl");
            return (Criteria) this;
        }

        public Criteria andFurnLocDtlNotIn(List<String> values) {
            addCriterion("furn_loc_dtl not in", values, "furnLocDtl");
            return (Criteria) this;
        }

        public Criteria andFurnLocDtlBetween(String value1, String value2) {
            addCriterion("furn_loc_dtl between", value1, value2, "furnLocDtl");
            return (Criteria) this;
        }

        public Criteria andFurnLocDtlNotBetween(String value1, String value2) {
            addCriterion("furn_loc_dtl not between", value1, value2, "furnLocDtl");
            return (Criteria) this;
        }

        public Criteria andFurnCategoryIsNull() {
            addCriterion("furn_category is null");
            return (Criteria) this;
        }

        public Criteria andFurnCategoryIsNotNull() {
            addCriterion("furn_category is not null");
            return (Criteria) this;
        }

        public Criteria andFurnCategoryEqualTo(String value) {
            addCriterion("furn_category =", value, "furnCategory");
            return (Criteria) this;
        }

        public Criteria andFurnCategoryNotEqualTo(String value) {
            addCriterion("furn_category <>", value, "furnCategory");
            return (Criteria) this;
        }

        public Criteria andFurnCategoryGreaterThan(String value) {
            addCriterion("furn_category >", value, "furnCategory");
            return (Criteria) this;
        }

        public Criteria andFurnCategoryGreaterThanOrEqualTo(String value) {
            addCriterion("furn_category >=", value, "furnCategory");
            return (Criteria) this;
        }

        public Criteria andFurnCategoryLessThan(String value) {
            addCriterion("furn_category <", value, "furnCategory");
            return (Criteria) this;
        }

        public Criteria andFurnCategoryLessThanOrEqualTo(String value) {
            addCriterion("furn_category <=", value, "furnCategory");
            return (Criteria) this;
        }

        public Criteria andFurnCategoryLike(String value) {
            addCriterion("furn_category like", value, "furnCategory");
            return (Criteria) this;
        }

        public Criteria andFurnCategoryNotLike(String value) {
            addCriterion("furn_category not like", value, "furnCategory");
            return (Criteria) this;
        }

        public Criteria andFurnCategoryIn(List<String> values) {
            addCriterion("furn_category in", values, "furnCategory");
            return (Criteria) this;
        }

        public Criteria andFurnCategoryNotIn(List<String> values) {
            addCriterion("furn_category not in", values, "furnCategory");
            return (Criteria) this;
        }

        public Criteria andFurnCategoryBetween(String value1, String value2) {
            addCriterion("furn_category between", value1, value2, "furnCategory");
            return (Criteria) this;
        }

        public Criteria andFurnCategoryNotBetween(String value1, String value2) {
            addCriterion("furn_category not between", value1, value2, "furnCategory");
            return (Criteria) this;
        }

        public Criteria andFurnNameIsNull() {
            addCriterion("furn_name is null");
            return (Criteria) this;
        }

        public Criteria andFurnNameIsNotNull() {
            addCriterion("furn_name is not null");
            return (Criteria) this;
        }

        public Criteria andFurnNameEqualTo(String value) {
            addCriterion("furn_name =", value, "furnName");
            return (Criteria) this;
        }

        public Criteria andFurnNameNotEqualTo(String value) {
            addCriterion("furn_name <>", value, "furnName");
            return (Criteria) this;
        }

        public Criteria andFurnNameGreaterThan(String value) {
            addCriterion("furn_name >", value, "furnName");
            return (Criteria) this;
        }

        public Criteria andFurnNameGreaterThanOrEqualTo(String value) {
            addCriterion("furn_name >=", value, "furnName");
            return (Criteria) this;
        }

        public Criteria andFurnNameLessThan(String value) {
            addCriterion("furn_name <", value, "furnName");
            return (Criteria) this;
        }

        public Criteria andFurnNameLessThanOrEqualTo(String value) {
            addCriterion("furn_name <=", value, "furnName");
            return (Criteria) this;
        }

        public Criteria andFurnNameLike(String value) {
            addCriterion("furn_name like", value, "furnName");
            return (Criteria) this;
        }

        public Criteria andFurnNameNotLike(String value) {
            addCriterion("furn_name not like", value, "furnName");
            return (Criteria) this;
        }

        public Criteria andFurnNameIn(List<String> values) {
            addCriterion("furn_name in", values, "furnName");
            return (Criteria) this;
        }

        public Criteria andFurnNameNotIn(List<String> values) {
            addCriterion("furn_name not in", values, "furnName");
            return (Criteria) this;
        }

        public Criteria andFurnNameBetween(String value1, String value2) {
            addCriterion("furn_name between", value1, value2, "furnName");
            return (Criteria) this;
        }

        public Criteria andFurnNameNotBetween(String value1, String value2) {
            addCriterion("furn_name not between", value1, value2, "furnName");
            return (Criteria) this;
        }

        public Criteria andFurnNoIsNull() {
            addCriterion("furn_no is null");
            return (Criteria) this;
        }

        public Criteria andFurnNoIsNotNull() {
            addCriterion("furn_no is not null");
            return (Criteria) this;
        }

        public Criteria andFurnNoEqualTo(String value) {
            addCriterion("furn_no =", value, "furnNo");
            return (Criteria) this;
        }

        public Criteria andFurnNoNotEqualTo(String value) {
            addCriterion("furn_no <>", value, "furnNo");
            return (Criteria) this;
        }

        public Criteria andFurnNoGreaterThan(String value) {
            addCriterion("furn_no >", value, "furnNo");
            return (Criteria) this;
        }

        public Criteria andFurnNoGreaterThanOrEqualTo(String value) {
            addCriterion("furn_no >=", value, "furnNo");
            return (Criteria) this;
        }

        public Criteria andFurnNoLessThan(String value) {
            addCriterion("furn_no <", value, "furnNo");
            return (Criteria) this;
        }

        public Criteria andFurnNoLessThanOrEqualTo(String value) {
            addCriterion("furn_no <=", value, "furnNo");
            return (Criteria) this;
        }

        public Criteria andFurnNoLike(String value) {
            addCriterion("furn_no like", value, "furnNo");
            return (Criteria) this;
        }

        public Criteria andFurnNoNotLike(String value) {
            addCriterion("furn_no not like", value, "furnNo");
            return (Criteria) this;
        }

        public Criteria andFurnNoIn(List<String> values) {
            addCriterion("furn_no in", values, "furnNo");
            return (Criteria) this;
        }

        public Criteria andFurnNoNotIn(List<String> values) {
            addCriterion("furn_no not in", values, "furnNo");
            return (Criteria) this;
        }

        public Criteria andFurnNoBetween(String value1, String value2) {
            addCriterion("furn_no between", value1, value2, "furnNo");
            return (Criteria) this;
        }

        public Criteria andFurnNoNotBetween(String value1, String value2) {
            addCriterion("furn_no not between", value1, value2, "furnNo");
            return (Criteria) this;
        }

        public Criteria andFurnCodeIsNull() {
            addCriterion("furn_code is null");
            return (Criteria) this;
        }

        public Criteria andFurnCodeIsNotNull() {
            addCriterion("furn_code is not null");
            return (Criteria) this;
        }

        public Criteria andFurnCodeEqualTo(String value) {
            addCriterion("furn_code =", value, "furnCode");
            return (Criteria) this;
        }

        public Criteria andFurnCodeNotEqualTo(String value) {
            addCriterion("furn_code <>", value, "furnCode");
            return (Criteria) this;
        }

        public Criteria andFurnCodeGreaterThan(String value) {
            addCriterion("furn_code >", value, "furnCode");
            return (Criteria) this;
        }

        public Criteria andFurnCodeGreaterThanOrEqualTo(String value) {
            addCriterion("furn_code >=", value, "furnCode");
            return (Criteria) this;
        }

        public Criteria andFurnCodeLessThan(String value) {
            addCriterion("furn_code <", value, "furnCode");
            return (Criteria) this;
        }

        public Criteria andFurnCodeLessThanOrEqualTo(String value) {
            addCriterion("furn_code <=", value, "furnCode");
            return (Criteria) this;
        }

        public Criteria andFurnCodeLike(String value) {
            addCriterion("furn_code like", value, "furnCode");
            return (Criteria) this;
        }

        public Criteria andFurnCodeNotLike(String value) {
            addCriterion("furn_code not like", value, "furnCode");
            return (Criteria) this;
        }

        public Criteria andFurnCodeIn(List<String> values) {
            addCriterion("furn_code in", values, "furnCode");
            return (Criteria) this;
        }

        public Criteria andFurnCodeNotIn(List<String> values) {
            addCriterion("furn_code not in", values, "furnCode");
            return (Criteria) this;
        }

        public Criteria andFurnCodeBetween(String value1, String value2) {
            addCriterion("furn_code between", value1, value2, "furnCode");
            return (Criteria) this;
        }

        public Criteria andFurnCodeNotBetween(String value1, String value2) {
            addCriterion("furn_code not between", value1, value2, "furnCode");
            return (Criteria) this;
        }

        public Criteria andFurnYearIsNull() {
            addCriterion("furn_year is null");
            return (Criteria) this;
        }

        public Criteria andFurnYearIsNotNull() {
            addCriterion("furn_year is not null");
            return (Criteria) this;
        }

        public Criteria andFurnYearEqualTo(Date value) {
            addCriterionForJDBCDate("furn_year =", value, "furnYear");
            return (Criteria) this;
        }

        public Criteria andFurnYearNotEqualTo(Date value) {
            addCriterionForJDBCDate("furn_year <>", value, "furnYear");
            return (Criteria) this;
        }

        public Criteria andFurnYearGreaterThan(Date value) {
            addCriterionForJDBCDate("furn_year >", value, "furnYear");
            return (Criteria) this;
        }

        public Criteria andFurnYearGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("furn_year >=", value, "furnYear");
            return (Criteria) this;
        }

        public Criteria andFurnYearLessThan(Date value) {
            addCriterionForJDBCDate("furn_year <", value, "furnYear");
            return (Criteria) this;
        }

        public Criteria andFurnYearLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("furn_year <=", value, "furnYear");
            return (Criteria) this;
        }

        public Criteria andFurnYearIn(List<Date> values) {
            addCriterionForJDBCDate("furn_year in", values, "furnYear");
            return (Criteria) this;
        }

        public Criteria andFurnYearNotIn(List<Date> values) {
            addCriterionForJDBCDate("furn_year not in", values, "furnYear");
            return (Criteria) this;
        }

        public Criteria andFurnYearBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("furn_year between", value1, value2, "furnYear");
            return (Criteria) this;
        }

        public Criteria andFurnYearNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("furn_year not between", value1, value2, "furnYear");
            return (Criteria) this;
        }

        public Criteria andFurnStatusIsNull() {
            addCriterion("furn_status is null");
            return (Criteria) this;
        }

        public Criteria andFurnStatusIsNotNull() {
            addCriterion("furn_status is not null");
            return (Criteria) this;
        }

        public Criteria andFurnStatusEqualTo(String value) {
            addCriterion("furn_status =", value, "furnStatus");
            return (Criteria) this;
        }

        public Criteria andFurnStatusNotEqualTo(String value) {
            addCriterion("furn_status <>", value, "furnStatus");
            return (Criteria) this;
        }

        public Criteria andFurnStatusGreaterThan(String value) {
            addCriterion("furn_status >", value, "furnStatus");
            return (Criteria) this;
        }

        public Criteria andFurnStatusGreaterThanOrEqualTo(String value) {
            addCriterion("furn_status >=", value, "furnStatus");
            return (Criteria) this;
        }

        public Criteria andFurnStatusLessThan(String value) {
            addCriterion("furn_status <", value, "furnStatus");
            return (Criteria) this;
        }

        public Criteria andFurnStatusLessThanOrEqualTo(String value) {
            addCriterion("furn_status <=", value, "furnStatus");
            return (Criteria) this;
        }

        public Criteria andFurnStatusLike(String value) {
            addCriterion("furn_status like", value, "furnStatus");
            return (Criteria) this;
        }

        public Criteria andFurnStatusNotLike(String value) {
            addCriterion("furn_status not like", value, "furnStatus");
            return (Criteria) this;
        }

        public Criteria andFurnStatusIn(List<String> values) {
            addCriterion("furn_status in", values, "furnStatus");
            return (Criteria) this;
        }

        public Criteria andFurnStatusNotIn(List<String> values) {
            addCriterion("furn_status not in", values, "furnStatus");
            return (Criteria) this;
        }

        public Criteria andFurnStatusBetween(String value1, String value2) {
            addCriterion("furn_status between", value1, value2, "furnStatus");
            return (Criteria) this;
        }

        public Criteria andFurnStatusNotBetween(String value1, String value2) {
            addCriterion("furn_status not between", value1, value2, "furnStatus");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("version is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("version is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(Integer value) {
            addCriterion("version =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(Integer value) {
            addCriterion("version <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(Integer value) {
            addCriterion("version >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
            addCriterion("version >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(Integer value) {
            addCriterion("version <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(Integer value) {
            addCriterion("version <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<Integer> values) {
            addCriterion("version in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<Integer> values) {
            addCriterion("version not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(Integer value1, Integer value2) {
            addCriterion("version between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(Integer value1, Integer value2) {
            addCriterion("version not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterionForJDBCDate("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterionForJDBCDate("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterionForJDBCDate("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterionForJDBCDate("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterionForJDBCDate("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterionForJDBCDate("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}